package com.base.po.voip;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 挪车订单
 */
public class CarParkOrder {
    private String orderid;// 订单id/订单号

    private String paymentorder;// 支付商家订单号

    private String parentid;// 代理商id

    private String userid;// 用户id

    private Date createtime;// 订单创建时间

    private Integer number;// 购买数量

    private String addressee;// 收件人

    private String address;// 收件地址

    private String phonenumber;// 收件人号码

    private BigDecimal cash;// 现金支付金额

    private Integer paymethod;// 支付方式  1支付宝 2微信

    private Byte status;// 订单状态  0提交 1未支付 2已支付 3已发货 4已收货 5退款中 6已退款

    private Date paytime;// 支付时间

    private Byte deliverystatus;

    private String expressnumber;// 快递单号

    private Date deliverytime;// 发货时间

    private Byte datastatus;// 状态

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid == null ? null : orderid.trim();
    }

    public String getPaymentorder() {
        return paymentorder;
    }

    public void setPaymentorder(String paymentorder) {
        this.paymentorder = paymentorder == null ? null : paymentorder.trim();
    }

    public String getParentid() {
        return parentid;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid == null ? null : parentid.trim();
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getAddressee() {
        return addressee;
    }

    public void setAddressee(String addressee) {
        this.addressee = addressee == null ? null : addressee.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber == null ? null : phonenumber.trim();
    }

    public BigDecimal getCash() {
        return cash;
    }

    public void setCash(BigDecimal cash) {
        this.cash = cash;
    }

    public Integer getPaymethod() {
        return paymethod;
    }

    public void setPaymethod(Integer paymethod) {
        this.paymethod = paymethod;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Date getPaytime() {
        return paytime;
    }

    public void setPaytime(Date paytime) {
        this.paytime = paytime;
    }

    public Byte getDeliverystatus() {
        return deliverystatus;
    }

    public void setDeliverystatus(Byte deliverystatus) {
        this.deliverystatus = deliverystatus;
    }

    public String getExpressnumber() {
        return expressnumber;
    }

    public void setExpressnumber(String expressnumber) {
        this.expressnumber = expressnumber;
    }

    public Date getDeliverytime() {
        return deliverytime;
    }

    public void setDeliverytime(Date deliverytime) {
        this.deliverytime = deliverytime;
    }

    public Byte getDatastatus() {
        return datastatus;
    }

    public void setDatastatus(Byte datastatus) {
        this.datastatus = datastatus;
    }

    public CarParkOrder() {
        super();
    }

    public CarParkOrder(String orderid, String parentid, String userid, Date createtime, Integer number, String addressee, String address, String phonenumber, BigDecimal cash, Integer paymethod, Byte status, Byte deliverystatus, Byte datastatus) {
        this.orderid = orderid;
        this.parentid = parentid;
        this.userid = userid;
        this.createtime = createtime;
        this.number = number;
        this.addressee = addressee;
        this.address = address;
        this.phonenumber = phonenumber;
        this.cash = cash;
        this.paymethod = paymethod;
        this.status = status;
        this.deliverystatus = deliverystatus;
        this.datastatus = datastatus;
    }
}